package com.neo.tiny.admin.entity.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.neo.tiny.data.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description:
 * @Author: yqz
 * @CreateDate: 2022/8/7 21:32
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysRole extends BaseDO {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty("角色编号")
    private Long id;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("角色标识")
    private String roleKey;

    @ApiModelProperty("角色描述")
    private String roleDesc;

    @ApiModelProperty("显示顺序")
    private String roleSort;

}
